         <style>
            
             .css_table{
               width:647px;
                 border:1px solid blue;
                float:left;
                padding:5px;
                margin:5px;
                color:#000;
				margin-top:5px;            
                
             }   
             .red{
                text-align:left;
                background:#F6F6F6;
                 border-bottom:1px solid blue;
				  border-top:1px solid blue;
             }
			 tr{
				 border-bottom:1px solid blue;
			 }
             td{
               
                padding:5px;
				
             }
             .button1{
                background: #0FB7F9;
                color:white;               
                padding:5px 10px;
                font-size:13px;
                
             }   
            
         </style>
      <div class="right">
          <div class="category2">  
          <div class="load" style="position: absolute; top: 433px;  left:180px; z-index:9999"></div> 
         <div id="css_table">
      
        <form id="cart" action="<?php echo base_url().'butbi/cart/update';?>" method="post">
        		<table class="css_table"  cellpadding="0" cellspacing="0">
                	<tr>
                    	<td colspan="6" align="center"><strong><h3 style="padding:0px 0px 0px 10px; font-size:12px;">Bạn có <?php echo $this->cart->total_items();?> sản phẩm trong giỏ hàng</h3></strong></td>                       
                    </tr>
                	<tr>
                    	<td class="red">Hình</td>
                        <td class="red">Tên</td>
                        <td class="red">Số lượng</td>
                        <td class="red">Đơn giá</td>
                         <td class="red">Thành tiền</td>
                        <td class="red">Xóa</td>
                    </tr>
                 <?php $i=1; ?> 
                 <?php foreach($cart as $item) { ?>        
                    <tr class="tr">
                        <td class="red1"><img src="<?php echo base_url().$item['image']?>" /></td>
                        <td class="red1"><?php echo $item['name'];?></td>
                        <td class="red1">
                        <?php echo form_hidden($i.'[rowid]', $item['rowid']); ?>
                        
                        <input type="text" name="<?php echo $i.'[qty]'?>" value="<?php echo $item['qty']?>" maxlength="3" size="5" />
                        </td>
                        
                        <td class="red1"><?php echo number_format($item['price'],0,'','.');?></td>
                        <td class="red1"><?php echo number_format($item['price']*$item['qty'],0,'','.');?> VNĐ</td>
                        <td class="red1"><a href="<?php echo site_url('butbi/cart/remove/'.$item['rowid']);?>"><img src="<?=base_url();?>public/butbi/images/notok.jpg" /></a></td>
                    </tr>  
                    
                     
                  <?php $i++; } ?> 
                  <tr>
                  	<td colspan="6" style="text-align:right"><strong>Tổng thành tiền: <?php echo number_format($this->cart->total(),0,'','.');?> VNĐ</strong></td>
                  </tr>
                        
                </table>
                
               </form> 
           
           
           
           
           
           
           
           </div>  
         </div>       
        </div>